package com.tssup.fesco.service;

import com.tssup.fesco.sales.ofc.persistent.pojo.OfcRStaticData;

import java.util.List;

/**
 * Created by jiashen on 17-4-7.
 */
public interface OfcStaticDataService {
    List<OfcRStaticData> getDatasByCodeAndKey(String staticCode, String staticKey, String parentKey)throws Exception;

    <T> List<T> getDatasByCodeAndKeyReadOnly(String staticCode, String staticKey, String parentKey, T t)throws Exception;

    void setDataByCodeAndKey(List data, String staticCode, String staticKey, String parentKey) throws Exception;
}
